from wmi import *
import uuid
def cubc():
    mac = uuid.UUID(int=uuid.getnode()).hex[-12:]
    Wmi = WMI()
    CS = Wmi.Win32_ComputerSystem()[0]
    CSCaption = CS.Caption
    CSModel = CS.Model
    CSName = CS.Name
    OS = Wmi.Win32_OperatingSystem()[0]
    OSSerialNumber = OS.SerialNumber
    OSLastBootUpTime = OS.LastBootUpTime
    CPU = Wmi.Win32_Processor()[0]
    CPUName = CPU.Name
    CPUDescription = CPU.Description
    pwy = [CSCaption, CSModel, CSName, OSSerialNumber, OSLastBootUpTime, CPUName, CPUDescription]
    pwl = []
    for i in pwy:
        pwl.append(f"{uuid.uuid3(uuid.NAMESPACE_DNS, i)}-{uuid.uuid5(uuid.NAMESPACE_DNS, i)}-")
    pswd = "-".join(pwl)
    pswd = pswd + mac
    return pswd